import cv2
import os
import glob

input_dir = 'rgb_deptha'

allpath = []
for filepath in glob.glob(os.path.join(input_dir, '*.jpg')):
	allpath.append(filepath)
allpath.sort()

i=1
for imagepath in allpath:
	os.rename(imagepath, "orbNomen/frame"+str(i)+".jpg")
	i=i+1
